package com.ourway.entity.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ourway.entity.FeiShuDepartment;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 飞书创建部门返回参数
 *
 * @author lwh
 * @date 2021/11/28
 */
@NoArgsConstructor
@Data
public class FeiShuCreateDeptResponseVo implements Serializable {

    @JsonProperty("code")
    private Integer code;
    @JsonProperty("msg")
    private String msg;
    @JsonProperty("data")
    private DataDTO data;

    @NoArgsConstructor
    @Data
    public static class DataDTO {
        @JsonProperty("department")
        private FeiShuDepartment department;

    }
}
